package com.carful.xigua.modules.xigua.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.carful.xigua.modules.xigua.entity.System;
import com.carful.xigua.modules.xigua.mapper.SystemMapper;
import com.carful.xigua.modules.xigua.service.ISystemService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ad
 * @since 2024-07-17
 */
@Service
public class SystemServiceImpl extends ServiceImpl<SystemMapper, System> implements ISystemService {
    @Override
    public System getInfo() {
        return getOne(new LambdaQueryWrapper<System>().last("for update"));
    }
}
